<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Access your smart home WiFi, door code, and smart devices usage instructions.">
    <title>Smart Home Info</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #e0f7fa; /* 改为淡蓝色背景 */
            margin: 0;
            padding: 20px;
            text-align: center;
        }
        .container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        h1 {
            color: #333;
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        h2 {
            font-size: 1.5rem;
            color: #444;
            margin-bottom: 0.75rem;
        }
        .info-box {
            margin: 20px 0;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #f0f4f8;
        }
        .info-box p {
            font-size: 1.125rem;
            margin: 10px 0;
        }
        .qr-code img {
            max-width: 150px;
            margin-bottom: 10px;
        }
        .devices-section {
            margin-top: 30px;
        }
        .device-item {
            margin-bottom: 20px;
            text-align: left;
        }
        .device-item h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }
        .device-item p {
            font-size: 1rem;
            color: #555;
        }
        .device-images {
            margin-top: 10px;
            text-align: center;
        }
        .device-images img {
            max-width: 80%;  /* 图片宽度缩小为80% */
            height: auto;
            border-radius: 8px;
            margin-top: 10px;
        }
        footer {
            margin-top: 30px;
            font-size: 0.875rem;
            color: #777;
        }
    </style>
</head>
<body>

<div class="container">
    <h1>Welcome to Your Smart Home</h1>

    <div class="info-box">
        <h2>WiFi Information</h2>
        <p><strong>Network:</strong> SmartHome-WiFi</p>
        <p><strong>Password:</strong> 56965678</p>
    </div>

    <div class="info-box">
        <h2>Door Code</h2>
        <p><strong>Door Password:</strong> 990509</p>
    </div>

    <div class="qr-code">
        <h2>Pickup QR Code</h2>
        <img src="/upload/icon/1.webp" alt="QR Code for accessing more information">
        <p>Save the QR code and use the instrument on the right side of the door to scan the code for electricity</p>
    </div>

    <div class="devices-section">
        <div class="device-item">
            <h3>Smart Washer and Dryer</h3>
            <p>Control the washing and drying process using the living room controller. Set timers, temperature, and drying modes.</p>
            <div class="device-images">
                <img src="/upload/icon/2.webp" alt="All-in-one washer and dryer">
            </div>
        </div>

        <div class="device-item">
            <h3>Smart Refrigerator</h3>
            <p>Use the living room controller to check food inventory and expiration dates. You can also adjust the fridge temperature remotely and set reminders.</p>
            <div class="device-images">
                <img src="/upload/icon/3.webp" alt="Smart refrigerator">
            </div>
        </div>
    </div>

    <footer>
        &copy;
    </footer>
</div>

</body>
</html>
